<?php
/**
 * Here is your custom functions.
 */
if (!function_exists('env')) {
    function env(string $key = null, $default = null)
    {
        $loader = new WebmanEnv\EnvLoader(base_path('.env'));
        return $loader::get($key, $default);
    }
}